package com.halflife.framework.domain;

/**
 * Created by zhaoyf on 2018/8/28.
 */
public class ErrorCode {
    private String errcode;
    private String errmsg;
    private String hints;

    public static ErrorCode defaultInstance(String errmsg) {
        ErrorCode code = new ErrorCode();
        code.setErrcode("000");
        code.setErrmsg(errmsg);
        return code;
    }

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getHints() {
        return hints;
    }

    public void setHints(String hints) {
        this.hints = hints;
    }
}
